import { createApp } from 'vue'
import { router } from "./router/index";
import store from './store'
import './style.css'
import App from './App.vue'
import ElementUI from 'element-plus'
import 'element-plus/dist/index.css'
import * as ElementPlusIconsVue from '@element-plus/icons-vue' //图标
const app = createApp(App)

// element icon 注册
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}
app.use(ElementUI)
app.use(router)
app.use(store)
app.mount('#app')
